/*
 * Light.java
 *
 * Created on Jun 9, 2007, 12:35:07 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.infomancers.workflow.tests;

/**
 *
 * @author aviadbd
 */
public class Light {
    
    private int wanted;
    private int light = -1;
    
    public Light(int wanted) {
        this.wanted = wanted;
    }
    
    public int getWanted() {
        return wanted;
    }
    
    public int getLight() {
        return light;
    }
    
    public void setLight(int light) {
        this.light = light;
    }
    
    @Override
    public String toString() {
        return String.format("Light, wanted = %d, got = %d", wanted, light);
    }
    
}
